home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-2.iso / Files II / Prog / T / TransSkel 3.11.sit / TransSkel v 3.11 / Convenience / SkelPause.c < prev   
MacBinary  |  1994-02-20  |  1.6 KB  |  [TEXT/KAHL]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Compact Compressed (Unix) (archive/compact) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Sun Feb 20 18:32:20 1994, modified Sun Feb 20 18:32:20 1994, creator Think C, type ASCII, 711 bytes "SkelPause.c" , at 0x347 692 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[KAHL]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 53 6b 65 6c 50 61 | 75 73 65 2e 63 00 00 00 |..SkelPa|use.c...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 00 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 02 c7 00 | 00 02 b4 a9 8d a3 84 a9 |........|........|
|00000060| 8d a3 84 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 c2 cf 00 00 |........|........|
|00000080| 2f 2a 0d 20 2a 20 53 6b | 65 6c 50 61 75 73 65 20 |/*. * Sk|elPause |
|00000090| 28 29 0d 20 2a 0d 20 2a | 20 50 61 75 73 65 20 70 |(). *. *| Pause p|
|000000a0| 72 6f 63 65 73 73 20 65 | 78 65 63 75 74 69 6f 6e |rocess e|xecution|
|000000b0| 20 66 6f 72 20 74 68 65 | 20 67 69 76 65 6e 20 6c | for the| given l|
|000000c0| 65 6e 67 74 68 20 6f 66 | 20 74 69 6d 65 2c 20 6d |ength of| time, m|
|000000d0| 65 61 73 75 72 65 64 20 | 69 6e 20 74 69 63 6b 73 |easured |in ticks|
|000000e0| 0d 20 2a 20 28 36 30 74 | 68 73 20 6f 66 20 61 20 |. * (60t|hs of a |
|000000f0| 73 65 63 6f 6e 64 29 2e | 20 20 49 66 20 72 75 6e |second).| If run|
|00000100| 6e 69 6e 67 20 69 6e 20 | 61 20 6d 75 6c 74 69 74 |ning in |a multit|
|00000110| 61 73 6b 69 6e 67 20 65 | 6e 76 69 72 6f 6e 6d 65 |asking e|nvironme|
|00000120| 6e 74 2c 20 67 69 76 65 | 73 0d 20 2a 20 74 69 6d |nt, give|s. * tim|
|00000130| 65 20 74 6f 20 6f 74 68 | 65 72 20 70 72 6f 63 65 |e to oth|er proce|
|00000140| 73 73 65 73 2c 20 75 73 | 69 6e 67 20 74 68 65 20 |sses, us|ing the |
|00000150| 77 61 69 74 20 76 61 6c | 75 65 20 74 68 61 74 27 |wait val|ue that'|
|00000160| 73 20 61 70 70 72 6f 70 | 72 69 61 74 65 20 66 6f |s approp|riate fo|
|00000170| 72 0d 20 2a 20 77 68 65 | 74 68 65 72 20 74 68 65 |r. * whe|ther the|
|00000180| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 27 73 20 69 | applica|tion's i|
|00000190| 6e 20 74 68 65 20 66 6f | 72 65 67 72 6f 75 6e 64 |n the fo|reground|
|000001a0| 20 6f 72 20 62 61 63 6b | 67 72 6f 75 6e 64 2e 0d | or back|ground..|
|000001b0| 20 2a 2f 0d 0d 23 20 69 | 6e 63 6c 75 64 65 09 22 | */..# i|nclude."|
|000001c0| 54 72 61 6e 73 53 6b 65 | 6c 2e 68 22 0d 0d 0d 70 |TransSke|l.h"...p|
|000001d0| 61 73 63 61 6c 20 76 6f | 69 64 0d 53 6b 65 6c 50 |ascal vo|id.SkelP|
|000001e0| 61 75 73 65 20 28 6c 6f | 6e 67 20 74 69 63 6b 73 |ause (lo|ng ticks|
|000001f0| 29 0d 7b 0d 6c 6f 6e 67 | 09 63 75 72 72 65 6e 74 |).{.long|.current|
|00000200| 3b 0d 6c 6f 6e 67 09 77 | 61 69 74 54 69 6d 65 3b |;.long.w|aitTime;|
|00000210| 0d 45 76 65 6e 74 52 65 | 63 6f 72 64 09 65 76 65 |.EventRe|cord.eve|
|00000220| 6e 74 3b 0d 0d 09 69 66 | 20 28 53 6b 65 6c 51 75 |nt;...if| (SkelQu|
|00000230| 65 72 79 20 28 73 6b 65 | 6c 51 49 6e 46 6f 72 65 |ery (ske|lQInFore|
|00000240| 67 72 6f 75 6e 64 29 29 | 0d 09 09 53 6b 65 6c 47 |ground))|...SkelG|
|00000250| 65 74 57 61 69 74 54 69 | 6d 65 73 20 28 26 77 61 |etWaitTi|mes (&wa|
|00000260| 69 74 54 69 6d 65 2c 20 | 28 6c 6f 6e 67 20 2a 29 |itTime, |(long *)|
|00000270| 20 6e 69 6c 29 3b 0d 09 | 65 6c 73 65 0d 09 09 53 | nil);..|else...S|
|00000280| 6b 65 6c 47 65 74 57 61 | 69 74 54 69 6d 65 73 20 |kelGetWa|itTimes |
|00000290| 28 28 6c 6f 6e 67 20 2a | 29 20 6e 69 6c 2c 20 26 |((long *|) nil, &|
|000002a0| 77 61 69 74 54 69 6d 65 | 29 3b 0d 09 63 75 72 72 |waitTime|);..curr|
|000002b0| 65 6e 74 20 3d 20 54 69 | 63 6b 43 6f 75 6e 74 20 |ent = Ti|ckCount |
|000002c0| 28 29 3b 0d 09 77 68 69 | 6c 65 20 28 54 69 63 6b |();..whi|le (Tick|
|000002d0| 43 6f 75 6e 74 20 28 29 | 20 3c 20 63 75 72 72 65 |Count ()| < curre|
|000002e0| 6e 74 20 2b 20 74 69 63 | 6b 73 29 0d 09 7b 0d 09 |nt + tic|ks)..{..|
|000002f0| 09 69 66 20 28 53 6b 65 | 6c 51 75 65 72 79 20 28 |.if (Ske|lQuery (|
|00000300| 73 6b 65 6c 51 48 61 73 | 57 4e 45 29 29 0d 09 09 |skelQHas|WNE))...|
|00000310| 09 28 76 6f 69 64 29 20 | 57 61 69 74 4e 65 78 74 |.(void) |WaitNext|
|00000320| 45 76 65 6e 74 20 28 30 | 2c 20 26 65 76 65 6e 74 |Event (0|, &event|
|00000330| 2c 20 77 61 69 74 54 69 | 6d 65 2c 20 6e 69 6c 29 |, waitTi|me, nil)|
|00000340| 3b 0d 09 7d 0d 7d 0d 00 | 00 00 00 00 00 00 00 00 |;..}.}..|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 01 00 00 00 02 6e | 00 00 01 6e 00 00 00 46 |.......n|...n...F|
|00000390| 66 10 30 2e ff f6 42 41 | 12 31 08 01 54 41 3d 41 |f.0...BA|.1..TA=A|
|000003a0| ff f8 30 2e ff fe c0 7c | 00 07 b0 7c 00 01 66 42 |..0....||...|..fB|
|000003b0| 0b 53 6b 65 6c 50 61 75 | 73 65 2e 63 02 00 00 00 |.SkelPau|se.c....|
|000003c0| 50 61 72 74 53 49 54 78 | 00 00 00 00 00 00 00 00 |PartSITx|........|
|000003d0| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 a9 9f 75 93 00 00 | 00 00 00 00 02 b4 ff fa |....u...|........|
|00000400| 0c 6e 00 08 ff fa 6c 28 | 30 2e ff f6 42 41 12 31 |.n....l(|0...BA.1|
|00000410| 08 00 41 fa 02 48 2a 08 | 38 2e ff fa 48 c4 da 84 |..A..H*.|8...H...|
|00000420| 20 45 42 40 10 10 b2 40 | 67 06 52 6e ff fa 60 d0 | EB@...@|g.Rn..`.|
|00000430| 0c 6e 00 08 ff fa 66 04 | 78 00 60 16 30 2e ff f8 |.n....f.|x.`.0...|
|00000440| 91 6e ff f4 30 2e ff f8 | d1 6e ff f6 60 00 ff 1a |.n..0...|.n..`...|
|00000450| 78 01 45 ee 00 12 2c 6e | 00 06 4e 75 00 00 26 16 |x.E...,n|..Nu..&.|
|00000460| 8f 33 16 e6 85 55 0d 23 | 0f 07 c9 67 dd 50 07 e1 |.3...U.#|...g.P..|
|00000470| 56 27 0a 56 55 0d 78 30 | c9 67 dd 13 60 67 8d 2f |V'.VU.x0|.g..`g./|
|00000480| 00 00 01 52 00 28 00 1e | 02 21 01 3c 00 18 00 00 |...R.(..|.!.<....|
|00000490| 01 5a 00 00 01 5a 00 00 | 00 00 00 04 00 09 00 00 |.Z...Z..|........|
|000004a0| 06 4d 6f 6e 61 63 6f 00 | 00 00 00 00 00 00 00 00 |.Monaco.|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 04 00 00 04 00 00 00 48 | 00 48 00 00 00 00 02 db |.......H|.H......|
|000004f0| 02 40 ff e7 ff ee 02 ff | 02 52 1f 03 05 28 03 fc |.@......|.R...(..|
|00000500| 00 01 00 00 01 2c 01 2c | 00 00 00 00 0b e7 09 60 |.....,.,|.......`|
|00000510| 01 2c 00 2d 05 a0 5e ec | 00 26 04 01 01 01 00 18 |.,.-..^.|.&......|
|00000520| 00 01 27 0f 00 01 00 01 | 00 00 00 00 00 00 00 00 |..'.....|........|
|00000530| 00 00 00 00 00 01 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 01 00 00 02 41 00 | 00 00 00 04 00 09 00 00 |......A.|........|
|00000560| 06 4d 6f 6e 61 63 6f 08 | 00 00 00 00 00 00 00 00 |.Monaco.|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 04 01 00 00 01 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 14 00 01 00 00 01 5a |........|.......Z|
|000005e0| 00 00 01 63 09 53 6b 65 | 6c 50 61 75 73 65 00 00 |...c.Ske|lPause..|
|000005f0| 01 00 00 00 02 6e 00 00 | 01 6e 00 00 00 46 00 3b |.....n..|.n...F.;|
|00000600| 9c 74 11 a2 00 00 00 1c | 00 46 00 01 42 42 53 52 |.t......|.F..BBSR|
|00000610| 00 00 00 12 4d 50 53 52 | 00 00 00 1e 01 03 ff ff |....MPSR|........|
|00000620| 00 00 00 00 00 00 00 00 | 03 ef ff ff 00 00 01 56 |........|.......V|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+